//
//  PageHeader.h
//  SmartLock
//
//  Created by qq on 2019/3/29.
//  Copyright © 2019年 yhy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MCCSframework/NibView.h>
#import "MCCSBundleView.h"

NS_ASSUME_NONNULL_BEGIN

@interface PageHeader : MCCSBundleView

@property (strong, nonatomic) UIImage* backButtonImage;
@property (strong, nonatomic) NSString* title;
@property (strong, nonatomic) UIFont* titleFont;
@property (strong, nonatomic) UIColor* titleColor;
@property (strong, nonatomic) NSString* rightTitle;
@property (strong, nonatomic) UIFont *rightTitleFont;
@property (strong, nonatomic) UIColor* rightTitleColor;
@property (strong, nonatomic) void(^backAction)(void);
@property (strong, nonatomic) void(^rightAction)(void);
@property(assign, nonatomic) BOOL rightButtonHidden;
@property(assign, nonatomic) BOOL leftButtonHidden;
@property (weak, nonatomic) IBOutlet UIButton *btLeft;

@property (weak, nonatomic) IBOutlet UIButton *btRight;
@property (weak, nonatomic) IBOutlet UILabel *lbTitle;

-(void)transparent;
-(void)customizeWhite;

@end

NS_ASSUME_NONNULL_END
